import request from "@/utils/request";

// 表情列表
export const expMgrListService = (params) => {
  return request.get("/admin/sticker-package/pages", { params });
};

// 表情删除
export const expMgrDeleteService = (data) => {
  return request.delete("/admin/sticker-package/batchRemove", { data });
};

// 表情详情
export const expMgrDetailService = (id) => {
  return request.get(`/admin/sticker-package/get/${id}`);
};

// 表情修改
export const expMgrUpdateService = (data) => {
  return request.put("/admin/sticker-package/update", data);
};

// 表情添加
export const expMgrAddService = (data) => {
  return request.post("/admin/sticker-package/save", data);
};

// 表情修改状态
export const expMgrUpdateStatusService = (id, status) => {
  return request.put(`/admin/sticker-package/updateStatus/${id}/${status}`);
};
